package com.novax.ex.activity.infrastructure.entity;

import com.novax.ex.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description IEO分期表
 * @Author ChenXi
 * @Date 2023/05/05/16:53
 */

@Schema(description="IEO分期表")
@Data
@EqualsAndHashCode(callSuper=true)
public class IeoStages extends BaseEntity {
    /**
    * ieoId
    */
    @Schema(description="ieoId")
    private Long ieoId;

    /**
    * 分期期数
    */
    @Schema(description="分期期数")
    private Integer number;

    /**
    * 发放时间
    */
    @Schema(description="发放时间")
    private Date unlockTime;

    /**
    * 发放百分比
    */
    @Schema(description="发放百分比")
    private BigDecimal amount;

    /**
    * 是否已发币: 0 = 未发, 1 =  已发
    */
    @Schema(description="是否已发币: 0 = 未发, 1 =  已发")
    private Integer state;
}